package net.luerything.restlet.gwt.rpc;

import com.google.gwt.user.server.rpc.SerializationPolicy;

import java.io.IOException;
import java.io.InputStream;
import java.text.ParseException;
import java.util.List;

/**
 * @author keke
 */
public interface PolicyLoader {
  SerializationPolicy loadFromStream(InputStream inputStream,
                                     List<ClassNotFoundException> classNotFoundExceptions)
      throws IOException, ParseException;
}
